import axios from '@/libs/api.request'

export const addTrainSpec = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2TrainQuestionServiceImpl/addTrainSpec',
    method: 'post',
    data: data
  })
}

export const updateTrainSpec = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2TrainQuestionServiceImpl/updateTrainSpec',
    method: 'post',
    data: data
  })
}

export const trainSpecList = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2TrainQuestionServiceImpl/trainSpecList',
    method: 'post',
    data: data
  })
}

export const trainSpecInfo = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2TrainQuestionServiceImpl/trainSpecInfo',
    method: 'post',
    data: data
  })
}
